package com.tongji.diy.event
{
	/**
	 * 
	 * @author xxj
	 * 
	 */
	
	import flash.events.Event;
	import flash.geom.Vector3D;
	
	public class UploadRoomRotationEvent extends Event
	{
		public static const UPLOAD_ROOM_ROTATION:String = "uploadRoomRotation";
		
		public var roomIndex:uint;
		public var rotation:Vector3D;
		public var register:Boolean;
		
		public function UploadRoomRotationEvent(type:String, roomIndex:uint, rotation:Vector3D,  register:Boolean = false )
		{
			super(type);
			this.roomIndex = roomIndex;
			this.rotation = rotation;
			this.register = register;
		}
		
		override public function clone():Event
		{
			return new UploadRoomRotationEvent(type, roomIndex, rotation, register);
		}
	}
}